// 导入axios实例对象request
import request from '@/util/request.js'

// 创建getUpdateCateAPI接口并抛出共享
export const getUpdateCateAPI = (paramsId, attrId, activeName) => {
  return request({
    method: 'get',
    url: `categories/${paramsId}/attributes/${attrId}`,
    params: { attr_sel: activeName }
  })
}
